From: Clara Andrew-Wani Date: Sat, 29 Jun 2019 15:09:46 +0000 (-0400) Subject: Hard deprecrate Language::viewPrevNext() X-Git-Tag: 1.34.0-rc.0~1235^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Special:BookSources/%5B%28?a=commitdiff_plain;h=2836292794a5349829874bb9e698223ddbcb8ccb;p=lhc%2Fweb%2Fwiklou.git Hard deprecrate Language::viewPrevNext() Bug: T207977 Change-Id: I800689b04868d144f086913df9cd6b27dd74aa81 --- diff --git a/languages/Language.php b/languages/Language.php index fd8aedff2b..bb256c9c99 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -4863,6 +4863,7 @@ class Language { public function viewPrevNext( Title $title, $offset, $limit, array $query = [], $atend = false ) { + wfDeprecated( __METHOD__, '1.34' ); // @todo FIXME: Why on earth this needs one message for the text and another one for tooltip? # Make 'previous' link